package com.okaixz.client.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author cdz
 * @since 2025-08-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("app_upgrade_info")
@ApiModel(value="AppUpgradeInfo对象", description="")
public class AppUpgradeInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "升级状态0内部测试1全量选择升级2全量必须升级")
    private Integer type;

    @ApiModelProperty(value = "0禁用 1可用")
    private Integer status;

    @ApiModelProperty(value = "升级说明")
    private String upgradeTip;

    @ApiModelProperty(value = "客户端名称")
    private String clientName;
    @ApiModelProperty(value = "csj广告开放标志")
    private String csjOpenFlag;

    @ApiModelProperty(value = "版本名称")
    private String versionName;

    @ApiModelProperty(value = "版本号")
    private Integer versionCode;


}
